<div class="box">
	<div class="box-header well">
		<h2><i class="icon-th"></i> 站长推荐</h2>
		<!-- <div class="box-icon">
			<a href="#" class="btn btn-minimize btn-round" title="隐藏"><i class="icon-chevron-down"></i></a>
		</div> -->
	</div>
	<div class="box-content">
		<ul class="unstyled">
			<?php if (!empty($recommends)):?>
				<?php foreach($recommends as $index=>$recommend):?>
				<li>
				  	<?php if ($index <3):?>
						<span class="label label-important"><?php echo $index+1?></span>
					<?php else:?>
						<span class="label label-info"><?php echo $index+1?></span>
					<?php endif;?>
				  	<a href="/<?php echo $controller?>/detail/id/<?php echo $recommend['id']?>"><?php echo $recommend['name']?></a>
			  		<span class="pull-right"><?php echo $recommend['created_date']?></span>
				</li>
				<?php endforeach;?>
			<?php else:?>
				<div class="alert alert-info">
					暂时没有数据
				</div>
			<?php endif;?>
		</ul>
	</div>
</div>
